<!-- PARTIE CONTRAT AJOUTER TEMPLATE -->

<section id="content">


    <!-- Tableau obligatoire ! Structure du calendrier ! -->
    <table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;">
        <tr>
            <td id="ds_calclass"></td>
        </tr>
    </table>

    <!-- -->

<h1 class="article">{#NOUVEAU_CONTRAT#}</h1>

        <fieldset class="form-text article contrat">
            <label>{#TYPE_CONTRAT#}</label>
            <select name="type" id="type" onchange="show();">
                <option value="contratPension">{#PENSION#}</option>
                <option value="contratAdoption">{#ADOPTION#}</option>
                <option value="contratCession">{#CESSION_PROP#}</option>
                <option value="contratPlacement">{#PLACEMENT#}</option>
                <option value="contratRestitution">{#RESTITUTION#}</option>
        	</select>
        </fieldset>
                
        <section id="contratPension" style="display:none">
        <form class="article buttons" action="?action=ajouterContratPension" method="post">
        <fieldset class="form-text ">
            <label>{#DATE#}<em>*</em></label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#LIEU#}<em>*</em></label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter],length[0,12]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#ANIMAL#}<em>*</em></label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#PERSONNE#}<em>*</em></label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#DATE_ARRIVEE#}<em>*</em></label>
            <input type="text" name="dateArrivee" value="" id="dateArrivee" class="validate[required]] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#DATE_DEPART#}<em>*</em></label>
            <input type="text" name="dateDepart" value="" id="dateDepart" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#MONTANT_JOUR#}<em>*</em></label>
            <input type="text" name="montantParJour" value="" id="montantParJour" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#FRAIS_VETERINAIRE#}<em>*</em></label>
            <input type="text" name="fraisVeto" value="" id="fraisVeto" class="validate[required] text-input"/>
        </fieldset>
                <fieldset class="form-actions">
            <input type="submit" value="{#ENREGISTRER#}"/>
        </fieldset>
        </form>
        </section>
		<section id="contratAdoption" style="display:none">
        <form class="article buttons" action="?action=ajouterContratAdoption" method="post">
        <fieldset class="form-text">
            <label>{#DATE#}<em>*</em></label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#LIEU#}<em>*</em></label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#ANIMAL#}<em>*</em></label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#PERSONNE#}<em>*</em></label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#DATE_ARRIVEE#}<em>*</em></label>
            <input type="text" name="dateDebut" value="" id="dateDebut" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#DATE_DEPART#}<em>*</em></label>
            <input type="text" name="dateFin" value="" id="dateFin" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#REMUNERATION#}<em>*</em></label>
            <input type="text" name="remuneration" value="" id="remuneration" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#FRAIS_VETERINAIRE#}<em>*</em></label>
            <input type="text" name="traitementVeto" value="" id="traitementVeto" class="validate[required] text-input"/>
        </fieldset>
                <fieldset class="form-actions">
            <input type="submit" value="{#ENREGISTRER#}"/>
        </fieldset>
        </form>
        </section>
		<section id="contratCession" style="display:none">
        <form class="article buttons" action="?action=ajouterContratCession" method="post">
        <fieldset class="form-text">
            <label>{#DATE#}<em>*</em></label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#LIEU#}<em>*</em></label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#ANIMAL#}<em>*</em></label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#PERSONNE#}<em>*</em></label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text long haut">
            <label>{#REMARQUES#}</label>
            <textarea name="remarques" id="remarques" class="validate[optional] text-input"></textarea>
        </fieldset>
        </fieldset>
                <fieldset class="form-actions">
            <input type="submit" value="{#ENREGISTRER#}"/>
        </fieldset>
        </form>
        </section>
		<section id="contratPlacement" style="display:none">
        <form class="article buttons" action="?action=ajouterContratPlacement" method="post">
        <fieldset class="form-text">
            <label>{#DATE#}<em>*</em></label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#LIEU#}<em>*</em></label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#ANIMAL#}<em>*</em></label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#PERSONNE#}<em>*</em></label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>{#VETERINAIRE_PRIVE#}<em>*</em></label>
            <input type="text" name="veterinairePrive" value="" id="veterinairePrive" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#DATE_ARRIVEE#}<em>*</em></label>
            <input type="text" name="dateArrivee" value="" id="dateArrivee" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#DATE_DEPART#}<em>*</em></label>
            <input type="text" name="dateDepart" value="" id="dateDepart" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#MONTANT_JOUR#}<em>*</em></label>
            <input type="text" name="montantParJour" value="" id="montantParJour" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#SUPPLEMENT#}</label>
            <input type="text" name="supplement" value="" id="supplement" class="validate[required] text-input"/>
        </fieldset>
       
        <fieldset class="form-text">
            <label>{#DATE_PAIEMENT#}<em>*</em></label>
            <input type="text" name="datePaiement" value="" id="datePaiement" class="validate[required] text-input"/>
        </fieldset>
        
        </fieldset>
        <fieldset class="form-actions">
            <input type="submit" value="{#ENREGISTRER#}"/>
        </fieldset>
        </form>
        </section>
		<section id="contratRestitution" style="display:none">
        <form class="article buttons" action="?action=ajouterContratRestitution" method="post">
        <fieldset class="form-text">
            <label>{#DATE#}<em>*</em></label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#LIEU#}<em>*</em></label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#ANIMAL#}<em>*</em></label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#PERSONNE#}<em>*</em></label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text long haut correction">
            <label>{#REMARQUES#}</label>
            <input type="text" name="remarque" value="" id="remarque" class="validate[optional,custom[onlyLetter]] text-input"/>
        </fieldset>
            
        
             
        <fieldset class="form-actions">
            <input type="submit" value="{#ENREGISTRER#}"/>
        </fieldset>
        </form>
        </section>




  


</section>
